const {PhoneReg} = require("@/zy-common/utils/regex")

const descriptor = {
  phone: [
    {
      type: 'string',
      required: true,
      message:'手机号码不能为空'
    },
    {
      required: true,
      pattern: PhoneReg,
      message: "请输入正确的手机号",
    },
  ]
};

module.exports = descriptor